package com.scm.entity;

/**
 * @author CHL
 * @ClassName: Vender
 * @Description: TODO
 * @date 2022/3/8 15:12
 * @Version 1.0
 */
public class Vender
{
    private String venderCode;
    private String name;
    private String passWord;
    private String contactor;
    private String address;
    private String postCode;
    private String tel;
    private String fax;
    private String createDate;

    public void setVenderCode(String venderCode)
    {
        this.venderCode = venderCode;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public void setPassWord(String passWord)
    {
        this.passWord = passWord;
    }

    public void setContactor(String contactor)
    {
        this.contactor = contactor;
    }

    public void setAddress(String address)
    {
        this.address = address;
    }

    public void setPostCode(String postCode)
    {
        this.postCode = postCode;
    }

    public void setTel(String tel)
    {
        this.tel = tel;
    }

    public void setFax(String fax)
    {
        this.fax = fax;
    }

    public void setCreateDate(String createDate)
    {
        this.createDate = createDate;
    }

    public boolean equals(Object o)
    {
        if (o == this) {
            return true;
        }
        if (!(o instanceof Vender)) {
            return false;
        }
        Vender other = (Vender)o;
        if (!other.canEqual(this)) {
            return false;
        }
        Object this$venderCode = getVenderCode();Object other$venderCode = other.getVenderCode();
        if (this$venderCode == null ? other$venderCode != null : !this$venderCode.equals(other$venderCode)) {
            return false;
        }
        Object this$name = getName();Object other$name = other.getName();
        if (this$name == null ? other$name != null : !this$name.equals(other$name)) {
            return false;
        }
        Object this$passWord = getPassWord();Object other$passWord = other.getPassWord();
        if (this$passWord == null ? other$passWord != null : !this$passWord.equals(other$passWord)) {
            return false;
        }
        Object this$contactor = getContactor();Object other$contactor = other.getContactor();
        if (this$contactor == null ? other$contactor != null : !this$contactor.equals(other$contactor)) {
            return false;
        }
        Object this$address = getAddress();Object other$address = other.getAddress();
        if (this$address == null ? other$address != null : !this$address.equals(other$address)) {
            return false;
        }
        Object this$postCode = getPostCode();Object other$postCode = other.getPostCode();
        if (this$postCode == null ? other$postCode != null : !this$postCode.equals(other$postCode)) {
            return false;
        }
        Object this$tel = getTel();Object other$tel = other.getTel();
        if (this$tel == null ? other$tel != null : !this$tel.equals(other$tel)) {
            return false;
        }
        Object this$fax = getFax();Object other$fax = other.getFax();
        if (this$fax == null ? other$fax != null : !this$fax.equals(other$fax)) {
            return false;
        }
        Object this$createDate = getCreateDate();Object other$createDate = other.getCreateDate();return this$createDate == null ? other$createDate == null : this$createDate.equals(other$createDate);
    }

    protected boolean canEqual(Object other)
    {
        return other instanceof Vender;
    }

    public int hashCode()
    {
        int PRIME = 59;int result = 1;Object $venderCode = getVenderCode();result = result * 59 + ($venderCode == null ? 43 : $venderCode.hashCode());Object $name = getName();result = result * 59 + ($name == null ? 43 : $name.hashCode());Object $passWord = getPassWord();result = result * 59 + ($passWord == null ? 43 : $passWord.hashCode());Object $contactor = getContactor();result = result * 59 + ($contactor == null ? 43 : $contactor.hashCode());Object $address = getAddress();result = result * 59 + ($address == null ? 43 : $address.hashCode());Object $postCode = getPostCode();result = result * 59 + ($postCode == null ? 43 : $postCode.hashCode());Object $tel = getTel();result = result * 59 + ($tel == null ? 43 : $tel.hashCode());Object $fax = getFax();result = result * 59 + ($fax == null ? 43 : $fax.hashCode());Object $createDate = getCreateDate();result = result * 59 + ($createDate == null ? 43 : $createDate.hashCode());return result;
    }

    public String toString()
    {
        return "Vender(venderCode=" + getVenderCode() + ", name=" + getName() + ", passWord=" + getPassWord() + ", contactor=" + getContactor() + ", address=" + getAddress() + ", postCode=" + getPostCode() + ", tel=" + getTel() + ", fax=" + getFax() + ", createDate=" + getCreateDate() + ")";
    }

    public String getVenderCode()
    {
        return this.venderCode;
    }

    public String getName()
    {
        return this.name;
    }

    public String getPassWord()
    {
        return this.passWord;
    }

    public String getContactor()
    {
        return this.contactor;
    }

    public String getAddress()
    {
        return this.address;
    }

    public String getPostCode()
    {
        return this.postCode;
    }

    public String getTel()
    {
        return this.tel;
    }

    public String getFax()
    {
        return this.fax;
    }

    public String getCreateDate()
    {
        return this.createDate;
    }

    public Vender(String venderCode, String name, String passWord, String contactor, String address, String postCode, String tel, String fax, String createDate)
    {
        this.venderCode = venderCode;
        this.name = name;
        this.passWord = passWord;
        this.contactor = contactor;
        this.address = address;
        this.postCode = postCode;
        this.tel = tel;
        this.fax = fax;
        this.createDate = createDate;
    }

    public Vender() {}
}

